FROM duskdoc/go1.15

USER root
ENV GOROOT=/usr/local/share/go
ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.cn
ENV PATH=$GOPATH/bin/:$PATH

#WORKDIR /var/data/tool/app/run
WORKDIR /var/data/tool/

#ENTRYPOINT ["go","run","run.go"]
ENTRYPOINT ["/bin/bash","/var/data/tool/init.sh"]

